home *** CD-ROM | disk | FTP | other *** search
- Path: news.mindlink.net!uniserve!usenet
- From: nowher@anyplace.com (Chris)
- Newsgroups: comp.lang.c++
- Subject: Help!! I'm a stuck newbie - input problem
- Date: 29 Jan 1996 00:22:13 GMT
- Organization: UNIServe Online
- Distribution: world
- Message-ID: <4eh3vl$g8i@atlas.uniserve.com>
- NNTP-Posting-Host: van0305.tvs.net
- Mime-Version: 1.0
- X-Newsreader: WinVN 0.99.2
-
- I am writing a simple database type program and have run into difficulty.
-
- Presently, I have the following variables declared:
-
- char TempStr[20];
- char ch;
- int x=0;
-
- I need to input a string with a max length of 15 chars.
- ( I need to fill the database fields: Part Number:[ ] )
-
- I do not want to overwrite the bracket on the right of the field. I have
- tried various methods, but I get errors, or it otherwise doesn't do what
- I need it to.
-
- I would show some code, but I have deleted it several times in
- frustration.
-
- Please e-mail me with help on this. ANY help would be greatly
- appreciated.
-
- Thanks,
- Chris
-
-